import math

b0 = [ -1.0 / math.sqrt( 6 ), 1 / math.sqrt( 2 ), 1 / math.sqrt( 3 ) ]

b1 = [ -1.0 / math.sqrt( 6 ),-1 / math.sqrt( 2 ), 1 / math.sqrt( 3 ) ]

b2 = [ math.sqrt( 2 ) / math.sqrt( 3 ), 0, 1 / math.sqrt( 3 ) ]


print b0
print b1
print b2